package org.example.DesignPatterns.Bridge;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-18 17:59
 **/
public class WhitePen extends Pen{
    public WhitePen(Ruler ruler) {
        super(ruler);
    }

    @Override
    public void draw() {
        System.out.println("White");
        ruler.regularize();
    }
}